<template>
  <div>
    <el-row style="padding: 5px">
      <el-col :span="10"><p style="text-align: center">普通地区</p> </el-col>
      <el-col :span="14" :style="{backgroundColor:this.myCorlor.commonArea,marginBottom:'3px'}"></el-col>
      <el-col :span="10"><p style="text-align: center">焦点地区</p> </el-col>
      <el-col :span="14" :style="{backgroundColor:this.myCorlor.focusArea,marginBottom:'3px'}"></el-col>
      <el-col :span="10"><p style="text-align: center">华约组织</p> </el-col>
      <el-col :span="14" :style="{backgroundColor:this.myCorlor.wtoArea,marginBottom:'3px'}"></el-col>
      <el-col :span="10"><p style="text-align: center">北约组织</p> </el-col>
      <el-col :span="14" :style="{backgroundColor:this.myCorlor.natoArea,marginBottom:'3px'}"></el-col>
      <el-col :span="10"><p style="text-align: center;">新增北约成员国</p> </el-col>
      <el-col :span="14" :style="{backgroundColor:this.myCorlor.newNatoArea,marginBottom:'3px'}"></el-col>
    </el-row>
  </div>
</template>

<script>
export default {
  name: "MapLegendCard",
  data(){
    return{
      myCorlor:this.$store.state.color
    }
  }
}
</script>

<style scoped>

</style>